package com.backstage.service;

import com.backstage.pojo.dto.Message;
import com.backstage.pojo.entity.SysUserInfo;

import java.util.List;

public interface SysUserInfoService {
    Message<List<SysUserInfo>> userInfoList(SysUserInfo userInfos);

    Message<SysUserInfo> selectOne(SysUserInfo userInfo);

    Message<SysUserInfo> addRole(SysUserInfo userInfo);

    Message<SysUserInfo> updateRole(SysUserInfo userInfo);

    Message<String> deleteRole(Long id);

    Message<String> deleteRoleList(List<Long> userInfos);
}
